﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Runtime.Serialization;

namespace EzDesk.Apps.Model.Message
{
    [DataContract]
    public class MessageContent
    {
        public MessageContent() { }

        public MessageContent(string message)
        {
            MessageText = message;
        }

        public MessageContent(string messageTittle, string messageText)
        {
            MessageTitle = messageTittle;
            MessageText = messageText;
        }

        /// <summary>
        /// 消息ID
        /// </summary>
        [DataMember]
        public Guid MessageId { get; set; }

        /// <summary>
        /// 消息标题，可空
        /// </summary>
        [DataMember]
        public string MessageTitle { get; set; }

        /// <summary>
        /// 消息内容
        /// </summary>
        [DataMember]
        public string MessageText { get; set; }

    }
}
